package com.vn.rainbow.exoalarm.utils;

import android.content.Context;
import android.content.res.Resources;

public class Utils {
	public static int getStatusBarHeight(Context context) {
		Resources resources = context.getResources();
		int result = 0;
		int resourceId = resources.getIdentifier("status_bar_height", "dimen",
				"android");
		if (resourceId > 0) {
			result = context.getResources().getDimensionPixelSize(resourceId);
		}
		return result;
	}
}
